var vm = new Vue({
    el: "#app",
    data: {
        shopArr: [
            { pic: "./img/pic.png", name: "麻瓜", money: 6.66, num: 1 },
            { pic: "./img/pic.png", name: "黄瓜", money: 6.66, num: 1 },
            { pic: "./img/pic.png", name: "西瓜", money: 6.66, num: 1 }
        ]
    },
    methods:{
        search(){
            this.shopArr='';
        },
        jian(){
            this.num=this.num-1;
        },
        jia(){
            this.num=this.num-1
        }
    }
})